package com.dubbo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import com.alibaba.dubbo.config.spring.context.annotation.DubboComponentScan;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class) 
@DubboComponentScan(basePackages = "com.dubbo.service.impl")
public class App {

  public static void main(String[] args) {
    SpringApplication app = new SpringApplication(App.class);
    app.run(args);
  }

}
